package com.hyc.www.model.po;


import com.hyc.www.dao.annotation.Table;
import com.hyc.www.model.po.abs.BaseEntity;

import java.math.BigDecimal;

@Table(name = "ticket")
public class Ticket extends BaseEntity {

  private String number;
  private String origin;
  private String destination;
  private java.sql.Timestamp depart;
  private java.sql.Timestamp arrive;
  private BigDecimal price;
  private Integer inventory;






  public String getNumber() {
    return number;
  }

  public void setNumber(String number) {
    this.number = number;
  }


  public String getOrigin() {
    return origin;
  }

  public void setOrigin(String origin) {
    this.origin = origin;
  }


  public String getDestination() {
    return destination;
  }

  public void setDestination(String destination) {
    this.destination = destination;
  }


  public java.sql.Timestamp getDepart() {
    return depart;
  }

  public void setDepart(java.sql.Timestamp depart) {
    this.depart = depart;
  }


  public java.sql.Timestamp getArrive() {
    return arrive;
  }

  public void setArrive(java.sql.Timestamp arrive) {
    this.arrive = arrive;
  }


  public BigDecimal getPrice() {
    return price;
  }

  public void setPrice(BigDecimal price) {
    this.price = price;
  }

  public Integer getInventory() {
    return inventory;
  }

  public void setInventory(Integer inventory) {
    this.inventory = inventory;
  }
}
